package com.maben.business.runner;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class BusinessRunner implements CommandLineRunner {
    @Value("${params.test}")
    private String testStr;
    @Override
    public void run(String... args) throws Exception {
        log.info("testStr:{}",testStr);
    }
}
